<template>
  <div class="t_wrapper">
    <BasicTableList
      :columns="columns"
      :data="data"
      v-model:params="params"
      :show-pigination="false"
    ></BasicTableList>
  </div>
</template>

<script setup lang="ts">
import { BasicColoumns } from '@/components/basicTableList/types'
const params = {
  current: 1,
  pageSize: 10
}
const columns: BasicColoumns[] = [
  {
    title: '序号',
    key: 'order',
    isOrder: true
  },
  {
    title: '企业名称',
    key: 'company_name'
  },
  {
    title: '注册日期',
    key: 'date'
  }
]

const data = [
  {
    company_name: 'xxxx',
    date: '2023'
  },
  {
    company_name: 'xxxx',
    date: '2023'
  },
  {
    company_name: 'xxxx',
    date: '2023'
  },
  {
    company_name: 'xxxx',
    date: '2023'
  },
  {
    company_name: 'xxxx',
    date: '2023'
  },
  {
    company_name: 'xxxx',
    date: '2023'
  },
  {
    company_name: 'xxxx',
    date: '2023'
  }
]
</script>

<style lang="less" scoped>
.t_wrapper {
  width: 1200px;
  margin: auto;
}
</style>
